import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'login_content.dart';

class LoginScreen extends StatelessWidget {
  static final routeName = "/login";
  const LoginScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          centerTitle: true,
          leading: IconButton(
              onPressed: () {
                Navigator.of(context).pop();
              },
              icon: Icon(Icons.close_outlined))
          ,
          title: Text("密码登录", style: Theme.of(context).textTheme.headline2!.copyWith(
            fontWeight: FontWeight.bold
          ),)
      ),
      body: LoginContent(),
    );
  }
}
